$(document).ready(function() {
   
});
var windowapi = frameElement.api, W = windowapi.opener;
function createProductDialog() {
	$.dialog( {
		content : 'url:orderInfoController.do?goSelectUser',
		zIndex : 2100,
		title : '人员信息',
		lock : true,
		parent : windowapi,
		width : 485,
		height : 500,
		opacity : 0.4
	});

}

 function addBtnClick(){
	 
	// 打开选择产品窗口
	createProductDialog();
}
// 确定选择
function okClick() {
	var ids = [];
	var rows = $("#pProductList").datagrid('getSelections');

	if (rows.length > 0) {
		
		windowapi.opener.selectProductBack(rows);
		windowapi.close();
	} else
		tip("请选择人员!");
}
